package bavaria.hightech.testit.sort;

import java.util.Comparator;

public class LongComparator implements Comparator {

	@Override
	public int compare(Object o1, Object o2) {
		long l1 = Long.parseLong((String)o1);
		long l2 = Long.parseLong((String)o2);
		
		if(l1 < l2)return -1;
		if(l1 == l2)return 0;
		else return 1;
	}

}
